-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Make identification variables and the SELECT
clause in JPQL optional
#3903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Align test methods between EQL and JPQL. See #3902
SELECT
clause in JPQL optional
; | ||
|
||
identification_variable_declaration | ||
: range_variable_declaration (join | fetch_join)* | ||
; | ||
|
||
range_variable_declaration | ||
: entity_name AS? identification_variable | ||
: entity_name AS? identification_variable? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about entity_name (AS? identification_variable)?
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
|
||
@Test | ||
void whereClause() { | ||
// TBD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we missing a test here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops. Likely, my bad.
Closes #3902